import {HomeLayout} from 'fumadocs-ui/layouts/home';
import {baseOptions} from '@/lib/layout.shared';
import {ReactNode} from "react";

export default async function Layout(
    {
        params,
        children,
    }: {
        params: Promise<{ lang: string }>;
        children: ReactNode;
    }) {
    const { lang } = await params;
    return <HomeLayout {...baseOptions(lang)}>{children}</HomeLayout>;
}
